// 插件入口文件，导出你的Vue插件
import HelloPlugin from './components/HelloPlugin.vue';
import HelloWorld from './components/HelloWorld.vue';
import VxeGridPro from './components/VxeGridPro/index.vue';
import VxeTablePro from './components/VxeTablePro/index.vue';
import VxeModalPro from './components/VxeModalPro/index.vue';
import SearchPro from './components/SearchPro/index.vue';
import './index.css';

// 按需导出每个组件，支持 tree-shaking
export { HelloWorld, HelloPlugin, VxeGridPro, VxeTablePro, VxeModalPro, SearchPro };

// 提供全量注册方法，供需要时使用
export default {
  install(app) {
    app.component('HelloPlugin', HelloPlugin);
    app.component('HelloWorld', HelloWorld);
    app.component('VxeGridPro', VxeGridPro);
    app.component('VxeTablePro', VxeTablePro);
    app.component('VxeModalPro', VxeModalPro);
    app.component('SearchPro', SearchPro);
  }
};
